package cn.baimo.pojo;

import java.io.Serializable;

/**
 * ClassName: Division
 * Description:科室表
 * date: 2020/5/28 0028 9:57:28
 *
 * @author 19036
 * @since JDK 1.8
 * 科室表（division）
 * 字段名	属性	约束	注释
 * id	int	主键	主键
 * name	varchar(20)		科室名称
 */
public class Division implements Serializable {
    private int id;
    private String name;

    public Division() {
    }

    public Division(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Division{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
